﻿using System;

namespace Shuba.Model
{
    [Serializable]
    public class AppCrossReffInfo
    {
        public AppCrossReffInfo()
        {
        }

        public AppCrossReffInfo
        (
            string PROSPECT_NO
            ,string FUNDING_LENDING
            ,string CREATED_DATE
            ,string PROSPECT_TYPE
            ,Int32 CIF_NUMBER
            ,string AO_CODE
            ,string ENTRY_BY
            ,string SOURCE_CODE
            ,string UNIT_CODE
            ,Int16 PRODUCT_CODE
            ,Int16 PRODUCT_TYPE
            ,string DEBITOR_NAME
            ,string ADDRESS_BUSINESS
            ,string PROGRESS_STATUS
            ,DateTime OPEN_DATE
            ,string LOAN_NUMBER
            ,string LINE_NUMBER
            , string DEBTOR_TYPE
            , double DISBURSE_AMOUNT
        )
        {
            this.PROSPECT_NO = PROSPECT_NO;
            this.FUNDING_LENDING = FUNDING_LENDING;
            this.CREATED_DATE = CREATED_DATE;
            this.PROSPECT_TYPE = PROSPECT_TYPE;
            this.CIF_NUMBER = CIF_NUMBER;
            this.AO_CODE = AO_CODE;
            this.ENTRY_BY = ENTRY_BY;
            this.SOURCE_CODE = SOURCE_CODE;
            this.UNIT_CODE = UNIT_CODE;
            this.PRODUCT_CODE = PRODUCT_CODE;
            this.PRODUCT_TYPE = PRODUCT_TYPE;
            this.DEBITOR_NAME = DEBITOR_NAME;
            this.ADDRESS_BUSINESS = ADDRESS_BUSINESS;
            this.PROGRESS_STATUS = PROGRESS_STATUS;
            this.OPEN_DATE = OPEN_DATE;
            this.LOAN_NUMBER = LOAN_NUMBER;
            this.LINE_NUMBER = LINE_NUMBER;
            this.DEBTOR_TYPE = DEBTOR_TYPE;
            this.DISBURSE_AMOUNT = DISBURSE_AMOUNT;
         }
        public string PROSPECT_NO { get; set; }
        public string FUNDING_LENDING { get; set; }
        public string CREATED_DATE { get; set; }
        //public DateTime CREATED_DATE { get; set; } dari date time ganti string karena bila ada masalah di prospect no bisa masih bisa jalan
        public string PROSPECT_TYPE { get; set; }
        public Int32 CIF_NUMBER { get; set; }
        public string AO_CODE { get; set; }
        public string ENTRY_BY { get; set; }
        public string SOURCE_CODE { get; set; }
        public string UNIT_CODE { get; set; }
        public Int16 PRODUCT_CODE { get; set; }
        public Int16 PRODUCT_TYPE { get; set; }
        public string DEBITOR_NAME { get; set; }
        public string ADDRESS_BUSINESS { get; set; }
        public string PROGRESS_STATUS { get; set; }
        public DateTime OPEN_DATE { get; set; }
        public string LOAN_NUMBER { get; set; }
        public string LINE_NUMBER { get; set; }
        public string DEBTOR_TYPE { get; set; }
        public double DISBURSE_AMOUNT { get; set; }
    }
}
